package com.example.algorithm_learning_platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Data
@TableName("algorithm_type")
@Getter
@Setter
public class AlgorithmType {
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;
    
    private String typeName;
    private String description;
    private String characteristics;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 